﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Tecnosop.Dominio;

namespace Tecnosop.WebUI.Controllers
{
    [Authorize]
    public partial class HomeController : Controller
    {
        private Entidades db = new Entidades();
        public virtual ActionResult Index()
        {
            return View();
        }

        public virtual ActionResult ConveniosAfacturar()
        {
            //var convenios = db.vwconveniosfacturaroncedias.tolist();
            return View(db.vwConveniosFacturarOnceDias.ToList());
        }

        public virtual ActionResult ConveniosAfacturarAll()
        {
                
            return View(db.vwConveniosSinFacturarAll.ToList());
            //return View();
        }
    }
}
